package utils;

/**
 * Created by IntelliJ IDEA.
 * User: Shawn
 * Date: 2009-5-29
 * Time: 22:24:07
 */
public class Var {

    public static final String ADMIN_ACCOUNT = "admin";

    public static final int PAGE_LENGTH = 15;

    public static final String SYS_LOGIN = "index.jsp";
    public static final String STU_LOGIN = "login.jsp";

    public static final String ACTION_SUCCESS = "success";
    public static final String ACTION_ERROR = "error";

    public static final String ROOT_FOLDER = "d:\\exam";
    public static final String ROOT_ERROR_FOLDER = "d:\\exam\\error";

    public static final int RIGHT_CONTROL_IP = 0x0001;
    public static final int RIGHT_CONTROL_EXAMINEE = 0x0002;
    public static final int RIGHT_QUESTION = 0x0004;
    public static final int RIGHT_SETUP = 0x0008;
    public static final int RIGHT_EXAMINEE_IMPORT = 0x0010;
    public static final int RIGHT_EXAMINEE_MANAGE = 0x0020;
    public static final int RIGHT_EXAMINEE_UPDATE = 0x0040;
    public static final int RIGHT_EXAM = 0x0080;
    public static final int RIGHT_STATISTIC = 0x0100;
    public static final int RIGHT_CONTROL_DETAIL = 0x0200;
    public static final int RIGHT_CONTROL_EXAMINEE_3_TIME = 0x0400;
    public static final int RIGHT_CONTROL_EXAMINEE_NO_LIMIT = 0X0800;

}
